from django.contrib import admin
from blog.models import Articles, Category, Tag

class ArticlesAdmin(admin.ModelAdmin):
    list_display = ['title', 'created_time', 'modified_time', 'category', 'author']



# 注册模型类
admin.site.register(Articles,ArticlesAdmin)
admin.site.register(Category)
admin.site.register(Tag)
